package com.yanqu.road.entity.activity.flowercards;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;

public class FlowerCardFlowerSkill {

    /**
     * 技能类型 (也是id)
     */
    private int type;

    /**
     * 等级
     */
    private int lv;

    /**
     * 装备的步数
     */
    private int loadStep;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getLv() {
        return lv;
    }

    public void setLv(int lv) {
        this.lv = lv;
    }

    public int getLoadStep() {
        return loadStep;
    }

    public void setLoadStep(int loadStep) {
        this.loadStep = loadStep;
    }

    @JSONField(serialize = false)
    public FlowerCardFlowerSkill copy(){
        FlowerCardFlowerSkill copy = new FlowerCardFlowerSkill();
        copy.setType(type);
        copy.setLv(lv);
        copy.setLoadStep(loadStep);
        return copy;
    }
}
